<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/common.css" />
    <link rel="stylesheet" href="../css/format.css" />

    <link rel="stylesheet" href="../css/style-one.css" />
    <link rel="stylesheet" href="../css/media-one.css" />
    <!-- 动画效果 -->
    <script src="https://unpkg.com/scrollreveal"></script>
</head>

<body>
    <div class="layout">
        <div class="sidebar " id="sidebar">
            <a href="https://www.96sir.com/">
                <div class="sidebar-time">
                    <span class="new_date_time"></span>
                </div>
            </a>
            <div class="sidebar-content">
                <div class="search-for">
                    <form id="search" method="post" action="https://www.96sir.com/" role="search">
                        <input type="text" id="s" name="s" class="search-text" placeholder="Search...">
                        <button type="submit" class="search-btn"></button>
                    </form>
                </div>
                <div class="menubar">
                    <h5>分类</h5>
                    <ul>
                        <li><a href="https://www.96sir.com/category/note/" title="笔记">笔记</a></li>
                        <li><a href="https://www.96sir.com/category/share/" title="分享">分享</a></li>
                        <li><a href="https://www.96sir.com/category/baking/" title="烘焙">烘焙</a></li>
                    </ul>
                    <h5>页面</h5>
                    <ul>
                        <li><a href="https://www.96sir.com/">首页</a></li>
                        <li><a href="https://www.96sir.com/version.html" title="更新日志">更新日志</a></li>
                        <li><a href="./whisper.html" title="耳语">耳语</a></li>
                        <li><a href="https://www.96sir.com/links.html" title="三五好友">三五好友</a></li>
                        <li><a href="https://www.96sir.com/archiving.html" title="文章归档">文章归档</a></li>
                        <li><a href="https://www.96sir.com/message.html" title="留言喔(๑•̀ㅁ•́ฅ)">留言喔(๑•̀ㅁ•́ฅ)</a></li>
                        <li><a href="https://www.96sir.com/suggest.html" title="主题建议">主题建议</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div id="main">
        <div class="home-head-box">
            <div class="home-head" id="home-head" style="background: linear-gradient(90deg, #ff4217, #ffbc25);"></div>
        </div>
        <div class="layout">
            <div class="contain">
                <div class="first-style-article-list">
                    <div class="first-style-item article-item">
                        <div class="img-v">
                            <img src="https://static.ucloud.cn/be036bc57ef64f8abc346614d744ae78.png" alt="" srcset="">
                        </div>
                        <p>最近德鲁纳酒店声名大噪啊，于是我也来看了一下，感觉像第8号当铺那种，主要是女主也很美腻啊！看了两集，就换了17套装扮，简直是大型时装秀啊 看一下百度百科的介绍吧 该剧因是韩剧洪氏姐妹的新剧而备受...
                        </p>
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item">
                        <div class="img-v">
                            <img src="http://img.yohao.xyz//images/181019235249.jpeg" alt="" srcset="">
                        </div>
                        <p>rwerew</p>
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item">
                        <div class="img-v">
                            <img src="http://img.yohao.xyz//images/181019235249.jpeg" alt="" srcset="">
                        </div>
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item">
                        <div class="img-v">
                            <img src="https://oss.96sir.com/96sir.com/9c16fdfaaf51f3deb05ff3889aeef01f3b297968.jpg" alt="" srcset="">
                        </div>

                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item">
                        <div class="img-v">
                            <img src="https://oss.96sir.com/96sir.com/5d7c73e9dfa20.jpg" alt="" srcset="">
                        </div>
                        <p>最近德鲁纳酒店声名大噪啊，于是我也来看了一下，感觉像第8号当铺那种，主要是女主也很美腻啊！看了两集，就换了17套装扮，简直是大型时装秀啊 看一下百度百科的介绍吧 该剧因是韩剧洪氏姐妹的新剧而备受...
                        </p>
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item"> <img src="https://oss.96sir.com/96sir.com/126cd81af8fa1bd2554d999721b78f5d.jpg" alt="" srcset="">
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item">
                        <img src="https://oss.96sir.com/96sir.com/5d7c73e9dfa20.jpg" alt="" srcset="">
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                    <div class="first-style-item article-item"> <img src="https://oss.96sir.com/96sir.com/9c16fdfaaf51f3deb05ff3889aeef01f3b297968.jpg" alt="" srcset="">
                        <div class="first-style-content">
                            <h5>《德鲁纳酒店》又名《月之酒店》</h5>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="back-to-home">
        <a href="#"> <svg t="1571470832520" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8518" width="40" height="40"><path d="M950.6 526.9L579.8 156c-37.4-37.4-98.2-37.4-135.6 0L73.4 526.9c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l370.8-370.8c12.4-12.4 32.7-12.4 45.1 0l370.8 370.8c6.2 6.2 14.4 9.4 22.6 9.4s16.4-3.1 22.6-9.4c12.5-12.6 12.5-32.8 0-45.3z" p-id="8519" fill="#ffffff"></path><path d="M800 512c-17.7 0-32 14.3-32 32v320c0 17.6-14.4 32-32 32h-96V608c0-52.9-43.1-96-96-96h-64c-52.9 0-96 43.1-96 96v288h-96c-17.6 0-32-14.4-32-32V544c0-17.7-14.3-32-32-32s-32 14.3-32 32v320c0 52.9 43.1 96 96 96h448c52.9 0 96-43.1 96-96V544c0-17.7-14.3-32-32-32zM448 896V608c0-17.6 14.4-32 32-32h64c17.6 0 32 14.4 32 32v288H448z" p-id="8520" fill="#ffffff"></path></svg></a>
        </a>
    </div>
    <div class="menu-btn" id="menu-btn">
        <svg t="1571470606206" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5457" width="32" height="32"><path d="M382.3 165.6h-165c-47.5 0-86 38.4-86 86v165c0 47.5 38.4 86 86 86h165c47.5 0 86.5-38.4 86-86v-165c0-47.6-38.5-86-86-86z m43.3 251c0 11.2-4.3 21.9-12.3 29.9-8 8.5-19.2 12.8-31 12.8h-165c-24 0-43.2-19.2-43.2-43.2V251c0-24 19.2-43.2 43.2-43.2h165v0.5c24 0 43.2 19.2 43.2 43.2v165.1zM382.3 557.5h-165c-47.5 0-86 38.4-86 86v165c0 47.5 38.4 86 86 86h165c47.5 0 86.5-38.4 86-86v-165c0-47.6-38.5-86-86-86z m43.3 251c0 11.2-4.3 21.9-12.3 29.9-8 8.5-19.2 12.8-31 12.8h-165c-24 0-43.2-19.2-43.2-43.2V643.5c0-24 19.2-43.2 43.2-43.2h165c24 0 43.2 19.2 43.2 43.2v165zM871.4 273.5L755 157.1c-16-16-37.9-25.1-60.9-25.1s-44.8 9.1-60.9 25.1L516.9 273.5c-33.6 33.6-33.6 88.1 0 121.7l116.4 116.4c16 16 37.9 25.1 60.9 25.1s44.8-8.5 60.9-25.1l116.4-116.4c33.5-33.6 33.5-88.1-0.1-121.7zM841 364.8L724.6 481.2c-7.5 8-18.2 12.3-30.4 12.3-11.7 0-22.4-4.8-30.4-12.8L547.3 364.2c-8-8-12.8-19.2-12.8-30.4 0-11.7 4.3-22.4 12.8-30.4L663.7 187c8-7.5 19.2-12.3 30.4-12.3 11.7 0 22.4 4.8 30.4 12.8L841 303.9c8 8 12.8 19.2 12.8 30.4 0 11.8-4.3 22.5-12.8 30.5zM776.4 557.5h-165c-47.5 0-86 38.4-86 86v165c0 47.5 38.4 86 86 86h165c47.5 0 86.5-38.4 86-86v-165c-0.1-47.6-38.5-86-86-86z m43.2 251c0 11.2-4.3 21.9-12.3 29.9-8 8.5-19.2 12.8-31 12.8h-165c-24 0-43.2-19.2-43.2-43.2V643.5c0-24 19.2-43.2 43.2-43.2h165c24 0 43.2 19.2 43.2 43.2v165z" p-id="5458" fill="#ffffff"></path></svg>
    </div>



</body>
<script>
    window.onload = function() {
            InitScrollReveal()
            initBgColor();
            var menuId = document.getElementById("menu-btn");
            menuId.addEventListener('click', handleClickMenu);
        }
        //  颜色
    function initBgColor() {
        let colors = new Array(...
            [{
                left: '#4587ff',
                right: '#88d3ff'
            }, {
                left: '#ff4217',
                right: '#e6be64'
            }, {
                left: '#2d2201',
                right: '#777777'
            }, {
                left: '#fc4a1a',
                right: '#f7b733'
            }, {
                left: '#e2025f',
                right: '#fd9595'
            }, {
                left: '#7713fb',
                right: '#a56dff'
            }]
        );
        var homeHead = document.getElementById('home-head');
        var index = Math.floor(Math.random() * 5)
        var color = colors[index];
        homeHead.style.background = `linear-gradient(90deg, ${color.left},  ${color.right})`
    }

    // 滚动动画
    function InitScrollReveal() {
        var index_config = {
            reset: false, // 再次显示元素时是否重新动画（如果为true，动画可以执行n次）
            origin: 'bottom', // 动画开始的方向
            distance: '50px', // 位移
            duration: 1500, // 动画持续时间
            opacity: 0, // 初始透明度
            scale: 0.95, // 缩放
            interval: 100,
            easing: 'ease', // 动画效果'ease', 'ease-in-out', 'linear'...
            //回调函数
            //动画开始前调用
            // beforeReveal: function (domEl) { itemWaterfall(); },
            // //滚动鼠标之前调用
            // beforeReset: function (domEl) { itemWaterfall(); },
            // //动画开始后调用
            // afterReveal: function (domEl) { },
            //滚动鼠标之后调用
            // afterReset: function (domEl) { itemWaterfall(); }
        };
        var post_config = {
            reset: false, // 再次显示元素时是否重新动画（如果为true，动画可以执行n次）
            origin: 'bottom', // 动画开始的方向
            distance: '50px', // 位移
            duration: 1000, // 动画持续时间
            opacity: 0, // 初始透明度
            easing: 'ease' // 动画效果'ease', 'ease-in-out', 'linear'...
        };
        window.sr = ScrollReveal();
        sr.reveal('.article-item', index_config);
        // sr.reveal('.article-content', post_config);
    }

    function handleClickMenu() {
        var sidebar = document.getElementById("sidebar");
        var mainId = document.getElementById("main");

        var isOpen = document.getElementsByClassName("sidebar-display").length > 0;
        if (!isOpen) {
            sidebar.setAttribute('class', sidebar.getAttribute('class').concat(" sidebar-display"))
            let mclass = mainId.getAttribute('class') || "";
            mainId.setAttribute('class', mclass.concat(" main-position"))
        } else {
            sidebar.setAttribute('class', sidebar.getAttribute('class').replace("sidebar-display", ""))
            mainId.setAttribute('class', main.getAttribute('class').replace("main-position", ''))
        }
    }
</script>

</html>